/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.unsw.bookmarket.dao;

import au.edu.unsw.bookmarket.actionform.CourseBean;
import au.edu.unsw.bookmarket.jdo.Course;
import java.util.List;

/**
 *
 * @author gongz
 */
public interface CourseDao {

    public void addCourseAsCourseBean(CourseBean courseBean);

    public void addCourse(Course course);

    public CourseBean courseExistency(CourseBean courseBean);

    public List<CourseBean> getAllCourses();

    public boolean removeAllCourses();
}
